package com.songtech.web.entry;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * create  by  zhaoxulin   on   2018-4-10 17:38
 * @author zhaoxulin
 * description:定位信息系统工作模式设置表
 *
 */
@Entity
@Table(name="sys_pos_terminal_setting")
public class Setting {

	/**
	 * 主键，工作模式ID
	 */
	@Id
	@Column(name = "terminal_setting_id")
	private Long terminalSettingId;

	/**
	 * 身份标识
	 */
	@Column(name = "imei")
	private  String  imei; 

	
	/**
	 * 定位时间间隔
	 */
	@Column(name = "postime_interval")
	private  String  postimeInterval;

	/**
	 * 短信告警电话
	 */
	@Column(name = "msg_phonenum")
	private  String msgPhonenum; 

	/**
	 * 告警电话1
	 */
	@Column(name = "first_call_phonenum")
	private  String firstCallPhonenum; 

	/**
	 * 告警电话2
	 */
	@Column(name = "second_call_phonenum")
	private  String secondCallPhonenum; 

	/**
	 * 创建人
	 */
	@Column(name = "create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@Column(name = "create_time")
	private Date createTime;

	/**
	 * 修改人
	 */
	@Column(name = "update_user")
	private String updateUser;	

	/**
	 * 修改时间
	 */
	@Column(name = "update_time")
	private Date updateTime;

	/**
	 * 状态
	 */
	@Column(name = "status")
	private  Integer  status; 

	/**
	 * 获取工作模式的ID
	 * @return  id
	 */
	public Long getId() {
		return terminalSettingId;
	}
	/**
	 * 设置工作模式的ID
	 * @param id
	 */
	public void setId(Long terminalSettingId) {
		this.terminalSettingId = terminalSettingId;
	}
	/**
	 * 获取身份标识
	 * @return   imei
	 */
	public String getImei() {
		return imei;
	}

	/**
	 * 设置身份标识
	 * @param imei
	 */
	public void setImei(String imei) {
		this.imei = imei;
	}

	/**
	 * 获取定位时间间隔
	 * @return  postimeInterval
	 */
	public String getPostimeInterval() {
		return postimeInterval;
	}

	/**
	 * 设置定位时间间隔
	 * @param postimeInterval
	 */
	public void setPostimeInterval(String postimeInterval) {
		this.postimeInterval = postimeInterval;
	}

	/**
	 * 获取短信告警电话
	 * @return  msgPhonenum
	 */
	public String getMsgPhonenum() {
		return msgPhonenum;
	}

	/**
	 * 设置短信告警电话
	 * @param msgPhonenum
	 */
	public void setMsgPhonenum(String msgPhonenum) {
		this.msgPhonenum = msgPhonenum;
	}

	/**
	 * 获取告警电话1
	 * @return  firstCallPhonenum
	 */
	public String getFirstCallPhonenum() {
		return  firstCallPhonenum;
	}

	/**
	 * 设置告警电话1
	 * @param firstCallPhonenum
	 */
	public void setFirstCallPhonenum(String firstCallPhonenum) {
		this.firstCallPhonenum = firstCallPhonenum;
	}

	/**
	 * 获取告警电话2
	 * @return   secondCallPhonenum
	 */
	public String getSecondCallPhonenum() {
		return secondCallPhonenum;
	}

	/**
	 * 设置告警电话2
	 * @param secondCallPhonenum
	 */
	public void setSecondCallPhonenum(String secondCallPhonenum) {
		this.secondCallPhonenum = secondCallPhonenum;
	}

	/**
	 * 获取创建人
	 * @return  createUser
	 */
	public String getCreateUser() {
		return createUser;
	}

	/**
	 * 设置创建人
	 * @param createUser
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	/**
	 * 获取创建时间
	 * @return  createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置创建时间
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取修改人
	 * @return  updateUser
	 */
	public String getUpdateUser() {
		return updateUser;
	}

	/**
	 * 设置修改人
	 * @param updateUser
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	/**
	 * 获取修改时间
	 * @return  updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置修改时间
	 * @param updateTime
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取状态
	 * @return  status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置状态
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 重写toString方法
	 */
	@Override
	public String toString() {
		return "Setting [terminalSettingId=" + terminalSettingId + ", imei=" + imei + ", postimeInterval="
				+ postimeInterval + ", msgPhonenum=" + msgPhonenum + ", firstCallPhonenum=" + firstCallPhonenum
				+ ", secondCallPhonenum=" + secondCallPhonenum + ", createUser=" + createUser + ", createTime="
				+ createTime + ", updateUser=" + updateUser + ", updateTime=" + updateTime + ", status=" + status + "]";
	}



}
